html {
  box-sizing: border-box;
}
/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", "Open Sans", sans-serif;
}

.top-bar {
  background-color: #146ac7;
  padding: 8px 0;
  height: 40%;
}

.welcome-text {
  color: white;
  font-size: 14px;
  margin: 0;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  max-width: 100%;
}

/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
  .welcome-text {
    font-size: 14px; /* Smaller font size on mobile */
  }
}

@media (max-width: 276px) {
  .welcome-text {
    font-size: 12px; /* Even smaller for very small screens */
  }
}

.contact-link {
  color: white;
  text-decoration: none;
  font-size: 14px;
  margin-top: 20px;
  margin-right: 15px;
  display: inline-flex;
  align-items: center;
}

.contact-link i {
  margin-right: 5px;
  color: #ffdd57;
}

.social-icons {
  display: flex;
  justify-content: flex-end;
}

.social-link {
  color: white;
  font-size: 18px;
  margin-left: 12px;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: #ffdd57;
}

/* General Navbar Styling */
.navbar {
  background: rgba(255, 255, 255, 0.9); /* Semi-transparent white */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: sticky;
  top: 0; /* Ensures the navbar sticks to the top */
  z-index: 1000; /* Ensures the navbar stays above other content */
}

.navbar:hover {
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

/* Navbar Brand */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.navbar-brand .logo {
  height: 40px;
  transition: transform 0.3s ease;
}

.navbar-brand .logo:hover {
  transform: scale(1.1);
}

.navbar-brand .brand-name {
  font-size: 1.2rem;
  font-weight: bold;
  color: #007bff;
  text-transform: uppercase;
}

/* Navbar Links */
.navbar-light .navbar-nav .nav-link {
  font-weight: 600;
  font-size: 1rem;
  color: #555;
  margin: 0 10px;
  position: relative;
  transition: color 0.3s ease, transform 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover {
  color: #007bff;
  transform: translateY(-2px);
}

.navbar-light .navbar-nav .nav-link::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: #007bff;
  transition: width 0.3s ease;
  margin: 2px auto 0 auto;
}

.navbar-light .navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* Navbar Toggler */
.navbar-toggler {
  padding: 10px;
  border: none;
  outline: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=UTF8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%28128, 128, 128, 0.8%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .navbar-nav {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .navbar-light .navbar-nav .nav-link {
    margin: 10px 0;
  }

  .navbar-brand .brand-name {
    font-size: 1rem;
  }

  .navbar-toggler {
    margin-left: auto;
  }
}

/* 🌟 Futuristic Announcement Bar */
.announcement-container {
  width: 100%;
  background: #146ac7;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  font-weight: bold;
  text-align: center;
  padding: 15px 0;
  overflow: hidden;
  position: relative;
  z-index: 99;
  box-shadow: 0px 4px 15px rgba(0, 123, 255, 0.3);
  display: flex;
  align-items: center;
}

/* 🔵 Scrolling Text */
.announcement-content {
  display: flex;
  white-space: nowrap;
  font-size: 1.2rem;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.8);
  animation: scrollText 25s linear infinite; /* Ensures smooth looping */
  min-width: 100%;
}

/* ✨ Infinite Scrolling Effect */
@keyframes scrollText {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

/* 🛑 Pause Scroll on Hover */
.announcement-container:hover .announcement-content {
  animation-play-state: paused;
}

/* 🎨 Responsive Design for Mobile */
@media (max-width: 768px) {
  .announcement-content {
    font-size: 1rem;
    animation: scrollText 30s linear infinite;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Maintains F-pattern */
  padding: 0;
}

/* Carousel Fix */
#carouselExampleFade {
  padding: 0;
}

/* Carousel Image Styling */
.carousel-inner,
.carousel-item {
  width: 100vw !important;
  height: 100vh !important;
}

.hero-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

/* Dark Overlay for Contrast */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 5;
}

/* Hero Content - Ensures Readability */
.hero-content {
  position: absolute;
  top: 35%;
  left: 5%;
  color: white;
  z-index: 10;
  max-width: 45%;
  text-align: left;
}

/* Headings - Fully Responsive & Scalable */
.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.8);
  word-wrap: break-word;
}

/* Paragraph Animation - Slide Up */
.hero-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  line-height: 1.6;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
  max-width: 90%;
  word-wrap: break-word;

  opacity: 0; /* Initially hidden */
  transform: translateY(30px); /* Slide-up effect */
  animation: slideUp 1s ease-out forwards;
  animation-delay: 0.8s;
}

/* Keyframes for Slide-Up Effect */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Buttons - Modern & Responsive */
.hero-buttons {
  display: flex;
  flex-wrap: wrap; /* Ensures buttons wrap correctly */
  gap: 10px;
  justify-content: flex-start;
  margin-top: 20px;
}

.hero-buttons .btn {
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  border: 2px solid transparent;
}

/* Primary Button - Futuristic Glow */
.hero-buttons .btn-primary {
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: white;
  border: none;
  box-shadow: 0 0 15px rgba(0, 114, 255, 0.6);
}

.hero-buttons .btn-primary:hover {
  background: linear-gradient(135deg, #0072ff, #00c6ff);
  box-shadow: 0 0 25px rgba(0, 114, 255, 0.9);
  transform: scale(1.05);
}

/* Outline Button - Neon Hover Effect */
.hero-buttons .btn-outline-light {
  color: white;
  border: 2px solid white;
  background: transparent;
  position: relative;
  transition: 0.3s;
}

.hero-buttons .btn-outline-light::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.3) 10%,
    transparent 50%
  );
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s ease-out;
}

.hero-buttons .btn-outline-light:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.hero-buttons .btn-outline-light:hover {
  background: white;
  color: #0072ff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .hero-content {
    max-width: 60%;
  }
}

@media (max-width: 768px) {
  .hero-section {
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .hero-content {
    max-width: 90%;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
    max-width: 100%;
  }

  .hero-buttons {
    flex-direction: column; /* Stack buttons */
    align-items: center;
  }

  .hero-buttons .btn {
    font-size: 1rem;
    padding: 10px 15px;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-content {
    top: 15%;
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .hero-buttons .btn {
    font-size: 0.9rem;
    padding: 8px 12px;
  }
}

/* About Section */
#about {
  position: relative;
  padding: 60px 0;
  color: #ffffff;
}

.about-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("assets/About\ us\ background.jpg");
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.about-bg .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

.custom-img {
  width: 100%; /* Makes the image span the width of its container */
  height: auto; /* Keeps the aspect ratio intact */
  max-width: 600px; /* Adjust the maximum width */
  max-height: 400px; /* Adjust the maximum height */
  border-radius: 15px; /* Optional: To style rounded corners */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional: Adds depth */
}

.col-md-6 {
  text-align: center; /* Optional: Center the image inside the column */
  padding: 20px; /* Optional: Adds spacing around the image */
}

@media (max-width: 768px) {
  .custom-img {
    max-width: 100%; /* Full width on smaller screens */
    max-height: auto; /* Maintain aspect ratio */
  }
}

#about h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

#about h5 {
  color: #ffffff; /* Ensure subheadings are white */
  font-weight: bold; /* Bold styling for emphasis */
  font-size: 1.5rem;
  margin-bottom: 15px;
}

#about p {
  color: #ffffff; /* Set text color to white */
  font-weight: bold; /* Make the text bold */
  font-size: 1.1rem; /* Optional: Slightly increase font size for readability */
  line-height: 1.8;
}

/* Add text shadow for better contrast */
#about p,
#about h5,
#about h2 {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8); /* Subtle shadow for enhanced visibility */
}

#about ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

#about ul li {
  margin-bottom: 10px;
}

#about .btn {
  border-radius: 50px;
  font-size: 1rem;
  padding: 10px 30px;
  transition: all 0.3s ease-in-out;
}

#about .btn-primary {
  background-color: #007bff;
  border: none;
}

#about .btn-primary:hover {
  background-color: #0056b3;
}

@media (max-width: 768px) {
  #about h2 {
    font-size: 2rem;
  }

  #about ul {
    padding-left: 15px;
  }
}

/* About Section Animations */
.animated-text {
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeIn 1s ease forwards;
}

.fade-in-text {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 0.5s;
}

.fade-in-list li {
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
  animation-delay: calc(0.3s * var(--li-index));
}

.fade-in-button {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 1.2s;
}

/* Keyframe Animations */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Why Join Us Section */
.why-join-us-section {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: white;
  padding: 60px 0;
}

/* Section Title */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #00c6ff;
}

/* Section Description */
.section-description {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #ddd;
  line-height: 1.6;
}

/* Card Styling */
.why-card {
  background: rgba(255, 255, 255, 0.15); /* More transparent */
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 5px 15px rgba(0, 214, 255, 0.3);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(15px); /* Increases contrast */
}

.why-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 214, 255, 0.5);
}

/* Icon Styling */
.icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  margin: 0 auto 20px;
  transition: transform 0.4s ease;
}

.why-card:hover .icon-container {
  transform: rotate(15deg) scale(1.1);
}

.icon {
  font-size: 40px;
  color: #00c6ff;
}

/* Card Title */
.card-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff !important; /* Ensures full brightness */
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5); /* Enhances visibility */
  margin-bottom: 10px;
}

.card-text {
  font-size: 1rem;
  font-weight: bold;
  color: #fff !important; /* Fully white */
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  line-height: 1.6;
}

/* Futuristic Button */
.btn-futuristic {
  display: inline-block;
  padding: 12px 30px;
  font-size: 1.2rem;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 50px;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: white;
  border: none;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 214, 255, 0.6);
}

.btn-futuristic:hover {
  background: linear-gradient(135deg, #0072ff, #00c6ff);
  box-shadow: 0 0 25px rgba(0, 214, 255, 0.9);
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .section-description {
    font-size: 1rem;
  }

  .card-title {
    font-size: 1.4rem;
  }

  .card-text {
    font-size: 0.9rem;
  }

  .btn-futuristic {
    font-size: 1rem;
    padding: 10px 20px;
  }
}

/* Services Section */
.services-section {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: white;
  padding: 60px 0;
}

/* Section Title */
.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #00c6ff;
}

/* Section Description */
.section-description {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #ccc;
  line-height: 1.6;
}

/* Service Cards */
.service-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 5px 15px rgba(0, 214, 255, 0.3);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 214, 255, 0.5);
}

/* Service Icons */
.service-icon {
  font-size: 50px;
  color: #00c6ff;
  margin-bottom: 15px;
  transition: transform 0.4s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.2);
}

/* Service Title */
.service-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 10px;
}

/* Service Text */
.service-text {
  font-size: 1rem;
  color: #ddd;
  line-height: 1.6;
}

/* Futuristic Button */
.btn-futuristic {
  display: inline-block;
  padding: 12px 30px;
  font-size: 1.2rem;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 50px;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: white;
  border: none;
  transition: all 0.4s ease;
  box-shadow: 0 0 15px rgba(0, 214, 255, 0.6);
}

.btn-futuristic:hover {
  background: linear-gradient(135deg, #0072ff, #00c6ff);
  box-shadow: 0 0 25px rgba(0, 214, 255, 0.9);
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .section-description {
    font-size: 1rem;
  }

  .service-title {
    font-size: 1.4rem;
  }

  .service-text {
    font-size: 0.9rem;
  }

  .btn-futuristic {
    font-size: 1rem;
    padding: 10px 20px;
  }
}

/* Sermons Section */
.sermons-section {
  padding: 60px 0;
  background-color: #f8f9fa;
}

/* Section Title */
.sermons-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #007bff;
}

/* Section Description */
.sermons-description {
  font-size: 1.1rem;
  color: #6c757d;
  line-height: 1.6;
}

/* YouTube Video Container */
.sermons-video-container {
  max-width: 800px;
  margin: 0 auto;
}

.sermons-video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.sermons-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

/* Sermon Cards */
.sermons-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sermons-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

/* Card Title */
.sermons-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #343a40;
}

/* Card Text */
.sermons-card-text {
  font-size: 1rem;
  color: #6c757d;
  line-height: 1.6;
}

/* Watch Now Button */
.sermons-btn {
  border-radius: 25px;
  padding: 8px 20px;
  font-size: 1rem;
  border: 2px solid #007bff;
  color: #007bff;
  transition: all 0.3s ease;
}

.sermons-btn:hover {
  background-color: #007bff;
  color: white;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .sermons-video-wrapper {
    padding-bottom: 75%;
  }

  .sermons-title {
    font-size: 2rem;
  }

  .sermons-description {
    font-size: 1rem;
  }

  .sermons-card {
    margin-bottom: 20px;
  }
}

/* Events Section */
.events-section {
  padding: 60px 0;
  background: linear-gradient(to right, #f8f9fa, #ffffff);
}

/* Section Title */
.events-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #007bff;
}

/* Section Description */
.events-description {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #6c757d;
  line-height: 1.6;
  text-align: center;
}

/* Event Cards */
.events-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.events-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Event Image */
.events-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px 15px 0 0;
}

/* Event Card Body */
.events-card-body {
  padding: 20px;
  text-align: center;
}

/* Event Title */
.events-card-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
}

/* Event Date */
.events-date {
  font-size: 1rem;
  font-weight: 600;
  color: #ff6b6b;
  margin-bottom: 10px;
}

/* Event Description */
.events-card-text {
  font-size: 1rem;
  color: #6c757d;
  line-height: 1.5;
}

/* Event Buttons */
.events-btn {
  display: inline-block;
  font-size: 1rem;
  font-weight: bold;
  color: white;
  background: #007bff;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.events-btn:hover {
  background: #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {
  .events-title {
    font-size: 2rem;
  }

  .events-description {
    font-size: 1rem;
  }

  .events-card {
    margin-bottom: 20px;
  }

  .events-img {
    height: 180px;
  }

  .events-btn {
    font-size: 0.9rem;
    padding: 8px 18px;
  }
}

/* Ministries Section */
.ministries-section {
  background: #0d1117;
  padding: 60px 0;
  color: #ffffff;
}

/* Section Titles */
.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: #00c6ff;
}

/* Section Description */
.section-description {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #cccccc;
  line-height: 1.6;
}

/* Ministry Cards */
.ministry-card {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0, 214, 255, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.ministry-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 214, 255, 0.5);
}

/* Ministry Images */
.ministry-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.4s ease;
}

.ministry-card:hover .ministry-img {
  transform: scale(1.05);
}

/* Ministry Titles */
.ministry-title {
  font-size: 1.8rem;
  color: #00c6ff;
  margin-top: 15px;
  font-weight: bold;
}

/* Ministry Descriptions */
.ministry-description {
  font-size: 1rem;
  color: #cccccc;
  margin-top: 10px;
  line-height: 1.6;
}

/* Futuristic Buttons */
.btn-futuristic {
  display: inline-block;
  padding: 12px 25px;
  font-size: 1.1rem;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 50px;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: white;
  border: none;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 214, 255, 0.6);
}

.btn-futuristic:hover {
  background: linear-gradient(135deg, #0072ff, #00c6ff);
  box-shadow: 0 0 25px rgba(0, 214, 255, 0.9);
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .section-description {
    font-size: 1rem;
  }

  .ministry-title {
    font-size: 1.5rem;
  }

  .ministry-description {
    font-size: 0.9rem;
  }

  .btn-futuristic {
    font-size: 1rem;
    padding: 10px 20px;
  }
}

/* Leadership Section */
.leadership-section {
  background: linear-gradient(to right, #f8f9fa, #ffffff);
  padding: 60px 0;
}

/* Section Titles */
.leadership-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #007bff;
  text-align: center;
}

.leadership-description {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #6c757d;
  text-align: center;
}

/* Leader Cards */
.leader-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

.leader-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Leader Image */
.leader-img-container {
  width: 150px;
  height: 150px;
  margin: 0 auto;
  border-radius: 50%;
  border: 3px solid #007bff;
  overflow: hidden;
}

.leader-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: border-color 0.3s ease;
}

.leader-card:hover .leader-img-container {
  border-color: #f39c12;
}

/* Leader Info */
.leader-info {
  margin-top: 15px;
}

.leader-name {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
}

.leader-role {
  font-size: 1rem;
  color: #555;
}

/* View All Leaders CTA */
.leadership-cta-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #007bff;
}

.leadership-cta-text {
  font-size: 1rem;
  color: #6c757d;
  margin-bottom: 20px;
}

.leadership-btn {
  display: inline-block;
  font-size: 1rem;
  font-weight: bold;
  color: white;
  background: #007bff;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.leadership-btn:hover {
  background: #0056b3;
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
  .leadership-title {
    font-size: 2rem;
  }

  .leader-card {
    margin-bottom: 20px;
  }

  .leader-img-container {
    width: 120px;
    height: 120px;
  }

  .leadership-btn {
    font-size: 0.9rem;
    padding: 8px 18px;
  }
}

/* Donation Section */
#donate {
  background: linear-gradient(135deg, #ff7e5f, #feb47b);
  color: white;
  padding: 60px 0;
  text-align: center;
}

/* Progress Bar */
.progress-container {
  max-width: 600px;
  margin: 0 auto;
}

.progress {
  background: #f8f9fa;
  border-radius: 50px;
  overflow: hidden;
  height: 25px;
}

.progress-bar {
  background: #28a745;
  color: white;
  font-weight: bold;
  line-height: 25px;
  text-align: center;
}

/* Donation Cards */
.donation-card {
  background: #ffffff;
  color: #333;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin: 10px;
  transition: transform 0.3s ease-in-out;
}

.donation-card:hover {
  transform: scale(1.05);
}

.donation-title {
  font-size: 1.5rem;
  font-weight: bold;
}

.donate-btn {
  margin-top: 15px;
  border-radius: 50px;
  padding: 10px 25px;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #ffffff;
  color: #333;
  padding: 20px;
  border-radius: 10px;
  max-width: 400px;
  width: 90%;
  text-align: center;
}

/* Payment Section */
/* M-Pesa Section */
#mpesa-section {
  background: #28a745;
  padding: 20px;
  border-radius: 10px;
  color: white;
}

#mpesa-section input {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: none;
  margin-top: 10px;
}

#mpesa-section button {
  background: white;
  color: #28a745;
  font-weight: bold;
}

/* Blog Section */
.blog-section {
  background: #0d1117;
  padding: 60px 0;
  color: #ffffff;
}

/* Featured Header */
.featured-header {
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  padding: 50px;
  border-radius: 15px;
  text-align: center;
}

/* Blog Cards */
.blog-card {
  background: #161b22;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 214, 255, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 214, 255, 0.5);
}

/* Blog Images */
.blog-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-img {
  transform: scale(1.05);
}

/* Blog Content */
.blog-content {
  padding: 20px;
}

.blog-content h3 {
  font-size: 1.6rem;
  color: #00c6ff;
}

.read-more {
  color: #00c6ff;
  text-decoration: none;
  font-weight: bold;
}

.read-more:hover {
  text-decoration: underline;
}

/* Sidebar */
.sidebar {
  background: #161b22;
  padding: 20px;
  border-radius: 10px;
}

.about-church,
.recent-sermons {
  margin-bottom: 20px;
}

/* Social Links */
.social-links a {
  font-size: 22px;
  color: #00c6ff;
  margin-right: 10px;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #0072ff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .blog-content h3 {
    font-size: 1.4rem;
  }
}

/* Contact Us Section */
.contact-us-section {
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.9),
    rgba(245, 245, 245, 0.9)
  );
  padding: 80px 0;
  text-align: center;
}

/* Section Titles */
.contact-title {
  font-size: 2.8rem;
  font-weight: bold;
  color: #007bff;
}

.contact-description {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #6c757d;
}

/* Contact Form Box */
.contact-form-box {
  background: rgba(255, 255, 255, 0.3);
  padding: 30px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.contact-form-box:hover {
  transform: scale(1.02);
}

.form-group {
  margin-bottom: 15px;
}

.form-control {
  border-radius: 8px;
  padding: 12px;
  border: 2px solid #ddd;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

/* Contact Button */
.contact-btn {
  font-size: 1rem;
  font-weight: bold;
  color: white;
  background: #007bff;
  padding: 12px 30px;
  border-radius: 25px;
  transition: background 0.3s ease;
}

.contact-btn:hover {
  background: #0056b3;
  transform: scale(1.05);
}

/* Contact Info Box */
.contact-info-box {
  background: rgba(255, 255, 255, 0.3);
  padding: 25px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info-box h4 {
  font-size: 1.5rem;
  color: #007bff;
}

/* Contact List */
.contact-list {
  list-style: none;
  padding: 0;
  font-size: 1rem;
}

.contact-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.contact-list a {
  color: #007bff;
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

/* Responsive Map */
.map-container {
  width: 100%;
  height: 350px;
  margin-top: 15px;
  border-radius: 10px;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
}

/* Directions Button */
.contact-direction-btn {
  font-size: 1rem;
  font-weight: bold;
  color: white;
  background: #28a745;
  padding: 10px 25px;
  border-radius: 25px;
  transition: background 0.3s ease;
}

.contact-direction-btn:hover {
  background: #218838;
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-title {
    font-size: 2rem;
  }

  .contact-info-box {
    padding: 15px;
  }

  .map-container {
    height: 250px;
  }
}

/* Footer Styles */
footer {
  background-color: #2c3e50;
  color: #ecf0f1;
  padding: 40px 0;
}

footer h5 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
}

footer p,
footer ul {
  font-size: 0.9rem;
}

footer ul {
  list-style-type: none;
  padding: 0;
}

footer ul li {
  margin-bottom: 10px;
}

footer ul li a {
  color: #ecf0f1;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer ul li a:hover {
  color: #f39c12;
}

footer a {
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #f39c12;
}

footer .social-icons a {
  margin: 0 10px;
  color: #ecf0f1;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

footer .social-icons a:hover {
  color: #f39c12;
}

footer .form-control {
  border-radius: 30px;
  border: 1px solid #f39c12;
}

footer .btn {
  background-color: #f39c12;
  color: #2c3e50;
  border-radius: 30px;
}

footer .btn:hover {
  background-color: #e67e22;
  color: #fff;
}

@media (max-width: 768px) {
  footer ul {
    text-align: center;
  }

  footer .form-control {
    width: 80%;
    margin: 10px auto;
  }
}

/* Live Chat Widget */
#live-chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

/* Floating Chat Button */
.chat-button {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  font-size: 22px;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
}

.chat-button:hover {
  transform: scale(1.15);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

/* Chat Box */
.chat-box {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 320px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  display: none;
  flex-direction: column;
  animation: fadeIn 0.3s ease-in-out;
}

/* Chat Header */
.chat-header {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  padding: 12px;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 12px 12px 0 0;
}

#close-chat {
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
}

/* Chat Body */
.chat-body {
  padding: 15px;
  max-height: 250px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Chat Messages */
.chat-message {
  padding: 10px 15px;
  border-radius: 15px;
  max-width: 80%;
  word-wrap: break-word;
  font-size: 14px;
}

.bot-message {
  background: #e1f5fe;
  align-self: flex-start;
}

.user-message {
  background: #007bff;
  color: white;
  align-self: flex-end;
}

/* Chat Footer */
.chat-footer {
  display: flex;
  padding: 10px;
  border-top: 1px solid #ddd;
  background: white;
  border-radius: 0 0 12px 12px;
}

#chat-input {
  flex: 1;
  padding: 10px;
  border: none;
  outline: none;
  font-size: 14px;
  border-radius: 8px;
  background: #f1f1f1;
}

#send-message {
  background: #007bff;
  color: white;
  border: none;
  padding: 10px;
  margin-left: 8px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s ease-in-out;
}

#send-message:hover {
  background: #0056b3;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 500px) {
  .chat-box {
    width: 90%;
    right: 5%;
  }
}

/* WhatsApp Floating Button */
#whatsapp-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 50px;
  height: 50px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out;
}

#whatsapp-btn:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  #whatsapp-btn {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
}

/* Back to Top Button */
#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 80px; /* Move left to avoid overlap with chat button */
  width: 50px;
  height: 50px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s, transform 0.3s ease-in-out;
}

#back-to-top:hover {
  background: #0056b3;
}

#back-to-top.show {
  display: flex;
  opacity: 1;
}

/* Adjust for smaller screens */
@media (max-width: 768px) {
  #back-to-top {
    width: 40px;
    height: 40px;
    font-size: 18px;
    right: 70px; /* Move left on mobile too */
  }
}
